<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>销售订单</title>
    <!-- 引入 Element UI 的样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css" />
    <link rel="stylesheet" href="../../assets/css/styles.css" />
  </head>
  <body>
    <div id="app">
      <div class="header">
        <div class="container header-content">
          <div class="logo">{{title}}</div>
          <!-- <div class="user-info">
            <div class="user-avatar"></div>
            <span>{{ username }}</span>
          </div> -->
        </div>
      </div>
      <div class="container main-content">
        <div class="content" style="width: 100%">
          <div style="margin-top: 10%; text-align: center">
            <h1>{{contentTitle}}</h1>
          </div>
        </div>
      </div>
    </div>
    <script src="../../assets/js/constant.js"></script>
    <script src="../../assets/js/utils.js"></script>
    <script src="../../assets/js/auth.js"></script>
    <script src="../../assets/js/axios.min.js"></script>
    <!-- 引入 Vue.js -->
    <script src="https://unpkg.com/vue@2/dist/vue.js"></script>
    <!-- 引入 Element UI 的 JS 文件 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>

    <script>
      checkAuthentication(2)
      new Vue({
        el: '#app',
        components: {},
        data() {
         return {
            currentUser: JSON.parse(localStorage.getItem('currentUser')) || {},
            userMenuList: JSON.parse(localStorage.getItem('userMenuList')) || [],
            title: '',
            contentTitle: ''
          }
        },
        created() {
          this.init()
        },
        methods: {
          exit,
          init() {
            const pageName = getUrlParameter('page')
            this.title = `订单管理系统-${pageName}列表`
            this.contentTitle = `${pageName}列表`
          }
        }
      })
    </script>
    <style>
      .el-table th.el-table__cell {
        background-color: #f2f2f2; /* 例如，设置为浅灰色 */
      }
    </style>
  </body>
</html>
